<template>
  <el-button v-model="value" :style="options.style" :type="type" :size="size" >{{options.label}}</el-button>
</template>

<script setup lang="ts">
  export type ButtonOptions = {
    options: {
      label: String,
      type?:string,
      style?:any
    },
    size?: string,
  }
  const props = defineProps<ButtonOptions>()
  const options = props.options
  const size = props.size || 'default'
  const type = options.type || 'primary'
</script>

<style scoped>

</style>
